package com.ddstation.onsitelaw.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;


@Data
@Table(name = "dt_invs_violation_manage_for_public", schema = "hzsc_invs")
public class DtInvsViolationManageEntity {

    @Id
    private String id;

    @Column(name = "uid")
    private int uid;

    @Column(name = "child_id")
    private int childId;

    @Column(name = "institution_id")
    private String institutionId;

    @Column(name = "invs_institution_id")
    private String invsInstitutionId;

    @Column(name = "doctor_id")
    private int doctorId;

    @Column(name = "medical_id")
    private String medicalId;

    @Column(name = "icd10_code")
    private String icd10Code;

    @Column(name = "disease")
    private String disease;

    @Column(name = "prescription_id")
    private String prescriptionId;

    @Column(name = "prescription_type")
    private Short prescriptionType;

    @Column(name = "prescription_name")
    private String prescriptionName;

    @Column(name = "base_item_id")
    private Integer baseItemId;

    @Column(name = "clinic_item_id")
    private Integer clinicItemId;

    @Column(name = "item_id")
    private Integer itemId;

    @Column(name = "item_name")
    private String itemName;

    @Column(name = "item_type")
    private Integer itemType;

    @Column(name = "violate_tm")
    private Date violateTm;

    @Column(name = "violate_dt")
    private Date violateDt;

    @Column(name = "follower_id")
    private Integer followerId;

    @Column(name = "follow_tm")
    private Date followTm;

    @Column(name = "follow_status")
    private Integer followStatus;

    @Column(name = "msg_id")
    private String msgId;

    @Column(name = "msg_txt")
    private String msgTxt;

    @Column(name = "status")
    private Integer status;

    @Column(name = "source_type")
    private Integer sourceType;

    @Column(name = "update_tm")
    private Date updateTm;

    @Column(name = "create_tm")
    private Date createTm;
}
